//
//  MyAnnotation.h
//  testProj
//
//  Created by Laurent on 07/07/11.
//  Copyright 2011 Epita. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <MapKit/MapKit.h>


@interface MyAnnotation : NSObject<MKAnnotation> {
    CLLocationCoordinate2D coordinate;
    NSString * mytitle;
}

@property (nonatomic, readonly) CLLocationCoordinate2D coordinate;

- (id)initWithCoordinate:(CLLocationCoordinate2D) coordinate;
- (void)setTitle:(NSString *) ti;
-(NSString *)subtitle;
-(NSString *)title;
@end
